﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using Volo.Abp.Domain.Repositories;

namespace mozhi.smarterp.Finance.AccountsPayables.Repositories
{
    public interface IPayableSettlementRepository : IRepository<PayableSettlement, Guid>
    {
        Task<int> GetCountAsync(Guid? payableId, Guid? documentId, CancellationToken cancellationToken = default(CancellationToken));

        Task<List<PayableSettlement>> GetListAsync(Guid? payableId, Guid? documentId, CancellationToken cancellationToken = default(CancellationToken));
    }
}
